package com.oystertech.sportcms.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * 队伍视图对象
 *
 * @author Oyster Cheung
 * @version 2023-08-27
 * @since 2023-10-07
 */
@Schema(description = "队伍视图对象")
@Data
public class TeamVO {
	@Schema(description = "队伍ID")
	private Long id;

	@Schema(description = "队伍全称")
	private String name;

	@Schema(description = "队伍简称")
	private String shortName;

	@Schema(description = "领队姓名")
	private String leaderName;

	@Schema(description = "领队性别")
	private Integer leaderSex;

	@Schema(description = "领队联系方式")
	private String leaderPhone;

	@Schema(description = "创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private Date createTime;

	@Schema(description = "最后修改时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private Date updateTime;
}
